
package laya.semi.process;

public class Condition
{
	public static final int EXPRESSION = 1;
	public static final int CLASS = 2;
	
	private int m_nType = -1;
	private String m_oId = null;
	private String m_oExpr = null;
	private String m_oDesc = null;
	
	public Condition(String oIdentity)
	{
		m_oId = oIdentity;
	}

/*
	public Condition(int nType, String oExpr)
	{
		m_nType = nType;
		m_oExpr = oExpr;
	}
	
	public Condition(String oIdentity, int nType, String oExpr)
	{
		m_oId = oIdentity;
		m_nType = nType;
		m_oExpr = oExpr;
	}
*/
	public String getIdentity()
	{
		return m_oId;
	}
	
	public void setType(int nVal)
	{
		m_nType = nVal;
	}

	public int getType()
	{
		return m_nType;
	}
	
	public void setExpression(String oVal)
	{
		m_oExpr = oVal;
	}

	public String getExpression()
	{
		return m_oExpr;
	}
	
	public void setDescription(String oVal)
	{
		m_oDesc = oVal;
	}
	
	public String getDescription()
	{
		return m_oDesc;
	}
}
